﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace GtsMotion
{
    public class Gts400
    {
        public MotionForm myForm = new MotionForm();
        public Gts400()
        {
        }

        public void Show()
        {
            myForm.Show();
        }

        public void MoveModel(int numX, bool xsts, bool ysts, bool zsts)
        {
            myForm.MoveModle(numX, xsts, ysts, zsts);
        }
        public void MoveModel2(int numX, bool xsts, bool ysts, bool zsts)
        {
            myForm.MoveModle2(numX, xsts, ysts, zsts);
        }
        public void MoveModel3(int numX, bool xsts, bool ysts, double Uvel)
        {
            myForm.MoveModle3(numX, xsts, ysts, Uvel);
        }
        public void MoveModel4(int numX, bool xsts, bool ysts, double Uvel)
        {
            myForm.MoveModle4(numX, xsts, ysts, Uvel);
        }
        public void SetOutput(int nBit, bool bOn)
        {
            myForm.SetOutput(nBit, bOn);
        }
        public void LimitOff(short nAxis, short LimitType)
        {
            myForm.LimitOff(nAxis, LimitType);
        }
        public void LimitOn(short nAxis, short LimitType)
        {
            myForm.LimitOn(nAxis, LimitType);
        }
        public bool GetInput(short nBit)
        {
            return myForm.GetInput(nBit);
        }
        //public void stopp(short nAxis)
        //{

        //    myForm.Stop( nAxis,  0);
        
        
        //}
    }
}
